const homeModel = require("../../model/mall/home");
async function getMallHomeCarousel(req, res) {
    let result = await homeModel.getMallHomeCarousel();
    let json = result;
    res.send(json);
}
async function getHotProduct(req, res) {
    let result = await homeModel.getHotProduct(req.query.name);
    let json = result
    res.send(json)
}
module.exports = {
    getMallHomeCarousel,
    getHotProduct
};
